﻿using System.Runtime.Serialization;

namespace UFIDA.U9.WSS.ProxyTestService.Models
{
    /// <summary>
    ///     代理对象数据
    /// </summary>
    [DataContract]
    public class ProxyData
    {
        /// <summary>
        ///     代理类型
        /// </summary>
        [DataMember]
        public string ProxyType { get; set; }

        /// <summary>
        ///     按数据成员(DataMember)传输数据
        /// </summary>
        [DataMember]
        public bool UseDataContract { get; set; }

        /// <summary>
        /// 请求数据最大展开深度
        /// </summary>
        [DataMember]
        public int RequestDataMaxExpandDepth { get; set; }

        /// <summary>
        ///     Json字符串
        /// </summary>
        [DataMember]
        public string ProxyJsonString { get; set; }
    }
}